﻿using System.Web;
using System.Web.Optimization;

namespace ZBJF.Warranty.H5
{
    public class BundleConfig
    {
        // 有关绑定的详细信息，请访问 http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                      "~/Scripts/JqueryValidate/jquery.validate*"));

            bundles.Add(new ScriptBundle("~/bundles/layer").Include(
                       "~/Scripts/Layer/layer.js"));

            bundles.Add(new ScriptBundle("~/bundles/weui").Include(
                       "~/Scripts/jquery-weui.js"));
            bundles.Add(new ScriptBundle("~/bundles/swiper").Include(
                       "~/Scripts/swiper.js"));
            bundles.Add(new ScriptBundle("~/bundles/city-picker").Include(
                     "~/Scripts/city-picker.js"));
            bundles.Add(new ScriptBundle("~/bundles/mmenu").Include(
                   "~/Scripts/jquery.mmenu.all.js"));
            bundles.Add(new ScriptBundle("~/bundles/common").Include(
                      "~/Scripts/common.js"));
            bundles.Add(new ScriptBundle("~/bundles/json2").Include(
                     "~/Scripts/json2.js"));
            // 使用要用于开发和学习的 Modernizr 的开发版本。然后，当你做好
            // 生产准备时，请使用 http://modernizr.com 上的生成工具来仅选择所需的测试。
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                      "~/Scripts/bootstrap.js",
                      "~/Scripts/respond.js"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                      "~/Content/site.css", "~/Content/InsuranceProduct.css"));

            bundles.Add(new StyleBundle("~/Content/weui").Include("~/Content/weui.css", "~/Content/jquery-weui.css"));
            bundles.Add(new StyleBundle("~/Content/mmenu").Include("~/Content/jquery.mmenu.all.css"));
        }
    }
}
